#pragma once

#include <iostream>
#include <string>

class Student 
{
private:
    std::string _name;
    std::string _passwd;

public:
    Student(const std::string& name, const std::string& passwd) 
        : _name(name)
        , _passwd(passwd) 
    {}

    std::string getName() 
    {
        return _name;
    }

    std::string getPassword() 
    {
        return _passwd;
    }

    void setName(const std::string& name)
    {
        _name = name;
    }

    void setPasswd(const std::string& passwd) 
    {
        _passwd = passwd;
    }
};